# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /cvs/zport/sci-mathematics/zenon/zenon-0.4.1.ebuild,v 1.1.1.1 2006/11/22 16:05:34 zechs Exp $

inherit eutils

DESCRIPTION="Zenon"
HOMEPAGE="http://focal.inria.fr/zenon/"
SRC_URI="http://focal.inria.fr/zenon/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 sparc"

IUSE=""
DEPEND=""

src_unpack() {
	unpack ${A}
}

src_compile() {
	local myconf="-bindir /usr/bin -libdir /usr/lib/zenon"

	cd ${WORKDIR}/${PN}
	./configure $myconf || die
	emake || die
}

src_install() {
	local myconf="BINDIR=${D}usr/bin LIBDIR=${D}usr/lib/zenon"

	cd ${WORKDIR}/${PN}
	make $myconf install || die
}
